package filecleaner;

import Eventlisteners.LogEvent;
import model.Maid;
import view.MainView;
import java.awt.FileDialog;
import javax.swing.JFileChooser;
import view.LogView;

public class Main {
    public static void main(String[] args) {
        LogEvent logEventDispatcher = new LogEvent();
        Maid jenkins = new Maid();
        MainView mainView = new MainView(jenkins, logEventDispatcher);
        LogView logView = new LogView();

        jenkins.addObserver(logEventDispatcher);
        logEventDispatcher.addObserver(logView);
        
        System.out.println("Done!");
    }
}
